<div class="main">
  <div class="main-header">
    <div class="pa-icon-div pull-left fs-14">
      <i class="iconfont icon-shouye fs-14 icon-vertical-top"></i>
      <span class="fs-vertical-middle">工作台>人员管理>
      <span class="fs-theme-color">人员登记</span>
      </span>
    </div>
  </div>
  <div class="main-content search-info">
    <div class="container-header fs-16">
      <span>人员登记</span>
    </div>
    <form class="base-info">
      <div class="base-info-item">
        <div class="pa-form-control">
          <label>姓名：</label>
          <input type="text" class="pa-form-control-input"
            ng-model="vm.mapParams.fullName">
        </div>
        <div class="pa-form-control">
          <label>身份证号：</label>
          <input type="text" class="pa-form-control-input"
            ng-model="vm.mapParams.idNo">
        </div>
        <div class="pa-form-control pa-form-control-btn text-right w-100">
          <button class="pa-btn pa-sw-btn" type="button"
            ng-click="vm.$paginationQuery()">搜索</button>
          <button class="pa-btn pa-sw-btn reset-btn"
            ng-click="vm.$reset()">重置</button>
        </div>
      </div>
    </form>
    <div class="pa-fl">
      <div class="pa-operate-fr fs-theme-color"
        ng-click="vm.$delete()">
        <i class="iconfont icon-middle icon-shanchu"></i>
        <span>删除</span>
      </div>
      <div class="pa-operate-fr fs-theme-color"
        ng-click="vm.$refresh()">
        <i class="iconfont icon-middle icon-shuaxin"></i>
        <span>刷新</span>
      </div>
    </div>
    <div>
      <pa-table>
        <table class="pa-table">
          <thead>
            <tr>
              <th class="checkbox-radius">
                <input type="checkbox"
                  class="form-control-box"
                  ng-model="vm.toggleAllFlag"
                  ng-click="vm.$toggleAll()">
              </th>
              <th>姓名</th>
              <th>身份证</th>
              <th>部门</th>
              <th>智能卡号</th>
              <th>采集时间</th>
              <th class="operate-three">操作</th>
            </tr>
          </thead>
          <tbody>
            <tr ng-repeat="item in vm.workerCollectList">
              <td>
                <input type="checkbox"
                  class="form-control-box"
                  ng-model="item.checked"
                  ng-change="vm.$isChange()">
              </td>
              <td>{{item.fullName}}</td>
              <td>{{item.idNo}}</td>
              <td>{{item.departmentName}}</td>
              <td>{{item.rfidNo}}</td>
              <td>{{item.collectTime | date:"yyyy-MM-dd"}}</td>
              <td>
                <div class="operate-del" ui-sref="addWorkerInfo({id: item.id})">
                  <i class="icon-middle iconfont icon-dengji trash-color fs-12"></i>
                  <span>登记入库</span>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
      </pa-table>
    </div>
  </div>
</div>
